package customview.ike.com.customviewproject.widget.Refresh;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.RelativeLayout;

/**
*@author： ike 空的尾布局，达到弹性拉动的效果
@createTime:2018/4/10 11:16
@function: 
**/


public class EmptyFooter extends RelativeLayout implements RefreshFooter{
    public EmptyFooter(Context context) {
        super(context);
    }

    public EmptyFooter(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public EmptyFooter(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public void PullToLoadMore(int scrollHeight, int headerHeight) {
        
    }

    @Override
    public void releaseToLoadMore(int offsetHeight, int headerHeight) {

    }

    @Override
    public void onStatusChanged(PullToRefreshLayout.HeaderStatus status) {

    }

    @Override
    public int getContentViewHeight() {
        return DensityUtil.dp2px(100.f);
    }

    @Override
    public View getContentView() {
        return this;
    }
}
